gtv
type gtv
Generic Transfer Value (GTV) is a general-purpose type for sending and decoding any data structure.
Since
0.9.0
Functions
Link copied to clipboard
Decodes a gtv
from a byte_array
. Fails if it cannod be decoded.
Link copied to clipboard
Tries to decode a gtv from a byte_array
and returns null
if it fails.
Link copied to clipboard
Decodes a gtv
from a byte_array
. Fails if it cannod be decoded.
Alias
from_bytes
Link copied to clipboard
Encodes this gtv
to a byte_array
.
Link copied to clipboard